package schooltest;

import school.JavaTeacher;
import school.Teacher;

public class TestTeacher {

	public static void main(String[] args) {
		// Teacher t1 = new Teacher("老吴", "合肥科海中心");
		// 抽象类不能new,指代对象是没有问题
		Teacher t1 = new JavaTeacher("老吴", "合肥科海中心");
		t1.selfIntro();
		t1.giveLession();
		t1.goodAt();
	}

}
